All Questions
4 questions
0votes
3answers
269views
Should simple tasks be divided into separate functions? [duplicate]
If I have to write a simple program (25-35 lines), should I divide it even further, in functions which have a few lines and get executed max. 2 times, or to put it all im one? e.g. if I need to add ...
4votes
1answer
2kviews
Greek philosophers, stone tablets and dumb slaves problem [closed]
This is one of the questions that I came across while preparing for a programming interview. Design a system for Greek philosophers to exchange messages using stone tablets carried by dumb slaves. ...
21votes
10answers
4kviews
Is over-engineering a warning sign? [closed]
So we present a straightforward coding exercise to new candidates with some well defined requirements. Occasionally we receive solutions which don't really solve the problem at hand, but are over-...
15votes
8answers
32kviews
OO Design related questions in technical interviews [closed]
I've been attending quite a few interviews recently and have been asked by companies to answer "design a [insert model]" questions more than a few times. Is this normal in the industry nowadays? I've ...